// 对外暴露一个函数
// 存储token
export const setToken = (token)=>{
    localStorage.setItem("TOKEN",token);  
}
// 获取token
export const getToken = ()=>{
    return localStorage.getItem("TOKEN");
}
// 删除本地存储
export const removeToken = ()=>{
    //removeItem 通过key清楚v
    localStorage.removeItem("TOKEN");
}